public class Work02{
	public static void main(String[] args){
		A a=new A();
		int arr1[]={1,2,3,5,78,9};
		int ret[]=a.Arrcopy(arr1);
		a.info(ret);

	}
}
class A{
	public int[] Arrcopy(int[] arr){
		int[] newarr=new int[arr.length];
		for(int i=0;i<arr.length;i++){
			newarr[i]=arr[i];
		}
		return newarr;
	}
	public void info(int []arr){
		for(int i=0;i<arr.length;i++){
			System.out.print(arr[i]+" ");
		}

	}
}